package cn.yto.print.model.request;

import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class JingDongPrintRequest {

    private String orderType;
    private String key;
    private String version;
    private Parameters parameters;

    @Data
    public static class Parameters {
        private String printName;
        private List<Content> contents;
    }

    @Data
    public static class Content {
        private String tempUrl;
        private String printData;
        private String customTempUrl;
        private Map<String, Object> customData;
        private Map<String, Object> addData;
    }

}
